﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ConfigModify.aspx.cs" Inherits="CURE.SystemManagement.ConfigModify" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <div class="pageContent">
        <form id="form1" name="form1" method="post" action="Handler/ConfigHandler.ashx" class="pageForm required-validate"
            onsubmit="return validateCallback(this, dialogAjaxDone)">
            <div class="pageFormContent" layouth="56">
                <input type="hidden" name="action" value="edit" />
                <p>
                    <label>参数编号：</label>
                    <input type="text" name="txtConfigCode" size="30" readonly="readonly" class="required" value="<%=SwitchCode %>" />
                </p>
                <p>
                    <label>
                        参数名称：</label>
                    <input type="text" name="txtConfigName" size="30" id="txtName" maxlength="15" class="required"
                        value="<%=SwitchName %>" />
                </p>
                <p>
                    <label>
                        是否开启：</label>
                    <%if (SwitchValue.Equals("0"))
                      {%>
                    <input id="radOpen" type="radio" name="radConfigValue" value="1" />开
                &nbsp;<input id="radClose" type="radio" name="radConfigValue" value="0" checked="checked" />关
                <%}
                      else
                      { %>
                    <input id="Radio1" type="radio" name="radConfigValue" value="1" checked="checked" />开
                &nbsp;<input id="Radio2" type="radio" name="radConfigValue" value="0" />关
                <%} %>
                </p>
                <p>
                    <label>
                        参数值：</label>
                    <input type="text" name="Svalue" size="30" id="Svalue" maxlength="15" class="required"
                        value="<%=Svalue %>" />
                </p>
            </div>
            <div class="formBar">
                <ul>
                    <li>
                        <div class="buttonActive">
                            <div class="buttonContent">
                                <button type="submit">
                                    提交</button>
                            </div>
                        </div>
                    </li>
                    <li>
                        <div class="button">
                            <div class="buttonContent">
                                <button type="reset" class="close">
                                    取消</button>
                            </div>
                        </div>
                    </li>
                </ul>
            </div>
        </form>
    </div>
</body>
</html>
